package com.example.gausspaper.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.time.LocalDate;
import java.util.Date;

@Entity(name = "db_paper")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Paper {
    @Id
    @Column(length = 10)
    private String paperId;
    @Column(length = 10)
    private String userId;
    @Column(length = 500)
    private String title;
    @Column(length = 500)
    private String author;
    @Column(length = 20)
    private String meeting;
    private String datasetNames;
    @Column(length = 10)
    private String publishTime;
    @Column(length = 20)
    private String type;
    private String pdfLink;
    private String githubLink;
    @Column(length = 3000)
    private String BibTex;
}
